<template>
  <section class="RoleList-container">
    <el-table :data="items" style="width: 100%" size="medium">
      <el-table-column width="90">
        <template slot="header">
          <slot name="action-bar">
            <i class="iconfont icon-icon_xinzeng" />
          </slot>
        </template>
        <template slot-scope="scope">
          <slot name="row-action-bar" :row="scope.row"></slot>
        </template>
      </el-table-column>
      <el-table-column type="index" width="40px" align="center" />
      <el-table-column prop="name" label="名称" width="100" />
      <el-table-column prop="remark" label="备注" />
      <el-table-column label="创建信息" width="180">
        <template slot-scope="scope">
          <p>
            {{ scope.row.creator_name != "" ? scope.row.creator_name : "" }}
          </p>
          <p>{{ scope.row.create_date }}</p>
        </template>
      </el-table-column>
      <el-table-column label="修改信息" width="180">
        <template slot-scope="scope">
          <p>
            {{ scope.row.editor_name != "" ? scope.row.editor_name : "" }}
          </p>
          <p>{{ scope.row.edit_date }}</p>
        </template>
      </el-table-column>
    </el-table>
  </section>
</template>

<script>
export default {
  props: ["items"],
  data() {
    return {
      loading: false,
    };
  },
  methods: {},
  mounted() {},
};
</script>

<style scoped lang="scss">
.UserList-container {
  height: 100%;
}
</style>